home *** CD-ROM | disk | FTP | other *** search
/ 9-Digit Zip Code Directory / 9-Digit Zip Code Directory (American Business Information) (ABIZIP-12).ISO / z4src.zip / BUILD.DOC < prev    next >
Text File  |  1993-08-23  |  9KB  |  237 lines

  1. //----------------------------------------------------------------------------
  2. //-- Over-view ---------------------------------------------------------------
  3. //----------------------------------------------------------------------------
  4.  
  5. 1)    Run table generator program, incorporate results, then rebuild all code.
  6.     z4abbld
  7.  
  8. 2) Build city/state file.
  9.     a) Unzip city/state file
  10.     b)    Preprocess city state file
  11.         z4cspre
  12.     c)    Build city/state primary data file
  13.       z4csbld /strip /sort /compress /index /recno
  14.     d)    Build cross reference (one record per unique c/s name)
  15.       z4cxbld /sort /compress /index /recno
  16.     e)    Build 5 digit ZIP database
  17.       z4z5bld /sort /compress /index /recno
  18.     f)    Build POF file
  19.       z4pfbld /sort /compress
  20.     f)    Copy cs.db to local machine
  21.     g)    Create state detail
  22.         z4sdbld
  23.  
  24. 3)    Create batch and script files.
  25.     a)    Extract POF data
  26.         z4pfextr
  27.     b)    Create unix and dos batch files.
  28.         z4pfwrk
  29.         
  30.     c) **NOTE** There is not data for 3 digit ZIP 901.
  31.     d)    Copy batch and script files to appropriate locations.
  32.  
  33.  
  34. 3) See section on notes to operators on how to do the main file build.
  35.  
  36. 4)    Create ZIP+4 cross reference data file.
  37.     a)    Extract unique ZIP+4 records.
  38.         z4zxextr
  39.     b)    Build data file.
  40.         z4zxbld /strip /sort /compress /index /recno /crc /check
  41.  
  42.  
  43. //----------------------------------------------------------------------------
  44. //-- Notes To Operators ------------------------------------------------------
  45. //----------------------------------------------------------------------------
  46.  
  47. *** The idea is to keep both machines busy until we get done!!! ***
  48. *** Watch for an messages such as 'File XXX.txt not found' ***
  49. *** Stop processing on any error messages!!! ***
  50.  
  51. ZIP+4 File Build Instructions
  52. 8/4/93
  53. The ZIP+4 file build consists of 2 parts:
  54.    -- Copying files from the CD to the SCO UNIX machine
  55.    -- Processing the files on the SCO UNIX machine
  56. The order of processing is very important. The following batch/script
  57. files are used. The DOSX.BAT files run on the DOS machine and the unixX
  58. files run on the unix machine.
  59. There are a total of 19 file sets to be processed:
  60.    DOS1.BAT --> DOS19.BAT
  61.    unix1    --> unix19
  62. The files run in the following order:
  63.    DOS1.BAT
  64.    unix1       Cannot start until DOS1.BAT is completed
  65.    DOS2.BAT    Can start immediately after DOS1.BAT
  66.    unix2       Cannot start until DOS2.BAT is completed
  67.    DOS3.BAT    Should start until unix1 is completed
  68.    unix3       Cannot start until DOS3.BAT is completed
  69.    DOS4.BAT    Should start until unix2 is completed
  70.    unix4       Cannot start until DOS4.BAT is completed
  71.     ....etc.....
  72.    DOS19.BAT   Should start until unix17 is completed
  73.    unix19      Cannot start until DOS19.BAT is completed
  74. The next file to process will be labeled at each machine. Be sure to update
  75. the sheet as you process files.
  76. Instructions to copy files from the CDROM to the SCO UNIX machine:
  77.    * Use the DOS machine attached to the SCO UNIX machine
  78.      (front cube 386 with monochrome monitor)
  79.    * Move to drive K:
  80.        K: <─┘
  81.    * Move to \ZIP4 directory
  82.        CD \ZIP4  <─┘
  83.    * Begin file transfer
  84.        C:\ZIP4\DOSx  <─┘      (replace 'x' with current file, ie 1,2,3... )
  85.      Example:
  86.        C:\ZIP4\DOS1  <─┘
  87.      Processing time is several hours
  88. Instructions to process files on the SCO UNIX machine
  89.    * Use the terminal in my cube.
  90.    * Log in as root (should already be done)
  91.    * Start C shell
  92.        csh  <─┘
  93.    * Move to /disk4/zip4 directory
  94.        cd /disk4/zip4  <─┘
  95.    * Set up environment variables 
  96.      (be sure to use correct case)
  97.        setenv DATA "/disk4/zip4:/disk3/zip4"  <─┘
  98.        setenv RUN_LOG YES  <─┘
  99.    * Verify environment variables
  100.        env  <─┘
  101.      (Check that the environment variables from the previous step are set)
  102.    * Begin processing files
  103.        unixX  <─┘      (replace 'X' with the current file, ie 1,2,3,4... )
  104.      Example:
  105.        unix1  <─┘
  106.      Processing time is several hours
  107.  
  108. //----------------------------------------------------------------------------
  109. //-- UNIX Build Status -------------------------------------------------------
  110. //----------------------------------------------------------------------------
  111.  
  112. ZIP+4 File Build
  113.  
  114.  
  115.        Time Started            By Who
  116.  
  117. unix1  _____________________   _____________________
  118. unix2  _____________________   _____________________
  119. unix3  _____________________   _____________________
  120. unix4  _____________________   _____________________
  121. unix5  _____________________   _____________________
  122. unix6  _____________________   _____________________
  123. unix7  _____________________   _____________________
  124. unix8  _____________________   _____________________
  125. unix9  _____________________   _____________________
  126. unix10 _____________________   _____________________
  127. unix11 _____________________   _____________________
  128. unix12 _____________________   _____________________
  129. unix13 _____________________   _____________________
  130. unix14 _____________________   _____________________
  131. unix15 _____________________   _____________________
  132. unix16 _____________________   _____________________
  133. unix17 _____________________   _____________________
  134. unix18 _____________________   _____________________
  135. unix19 _____________________   _____________________
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148. ZIP+4 File Build
  149.  
  150.  
  151.        Time Started            By Who
  152.  
  153. unix1  _____________________   _____________________
  154. unix2  _____________________   _____________________
  155. unix3  _____________________   _____________________
  156. unix4  _____________________   _____________________
  157. unix5  _____________________   _____________________
  158. unix6  _____________________   _____________________
  159. unix7  _____________________   _____________________
  160. unix8  _____________________   _____________________
  161. unix9  _____________________   _____________________
  162. unix10 _____________________   _____________________
  163. unix11 _____________________   _____________________
  164. unix12 _____________________   _____________________
  165. unix13 _____________________   _____________________
  166. unix14 _____________________   _____________________
  167. unix15 _____________________   _____________________
  168. unix16 _____________________   _____________________
  169. unix17 _____________________   _____________________
  170. unix18 _____________________   _____________________
  171. unix19 _____________________   _____________________
  172.  
  173.  
  174. //----------------------------------------------------------------------------
  175. //-- DOS Build Status --------------------------------------------------------
  176. //----------------------------------------------------------------------------
  177.  
  178. ZIP+4 File Build
  179.  
  180.  
  181.            Time Started            By Who
  182.   
  183. DOS1.BAT   _____________________   _____________________
  184. DOS2.BAT   _____________________   _____________________
  185. DOS3.BAT   _____________________   _____________________
  186. DOS4.BAT   _____________________   _____________________
  187. DOS5.BAT   _____________________   _____________________
  188. DOS6.BAT   _____________________   _____________________
  189. DOS7.BAT   _____________________   _____________________
  190. DOS8.BAT   _____________________   _____________________
  191. DOS9.BAT   _____________________   _____________________
  192. DOS10.BAT  _____________________   _____________________
  193. DOS11.BAT  _____________________   _____________________
  194. DOS12.BAT  _____________________   _____________________
  195. DOS13.BAT  _____________________   _____________________
  196. DOS14.BAT  _____________________   _____________________
  197. DOS15.BAT  _____________________   _____________________
  198. DOS16.BAT  _____________________   _____________________
  199. DOS17.BAT  _____________________   _____________________
  200. DOS18.BAT  _____________________   _____________________
  201. DOS19.BAT  _____________________   _____________________
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208. ZIP+4 File Build
  209.  
  210.  
  211.            Time Started            By Who
  212.   
  213. DOS1.BAT   _____________________   _____________________
  214. DOS2.BAT   _____________________   _____________________
  215. DOS3.BAT   _____________________   _____________________
  216. DOS4.BAT   _____________________   _____________________
  217. DOS5.BAT   _____________________   _____________________
  218. DOS6.BAT   _____________________   _____________________
  219. DOS7.BAT   _____________________   _____________________
  220. DOS8.BAT   _____________________   _____________________
  221. DOS9.BAT   _____________________   _____________________
  222. DOS10.BAT  _____________________   _____________________
  223. DOS11.BAT  _____________________   _____________________
  224. DOS12.BAT  _____________________   _____________________
  225. DOS13.BAT  _____________________   _____________________
  226. DOS14.BAT  _____________________   _____________________
  227. DOS15.BAT  _____________________   _____________________
  228. DOS16.BAT  _____________________   _____________________
  229. DOS17.BAT  _____________________   _____________________
  230. DOS18.BAT  _____________________   _____________________
  231. DOS19.BAT  _____________________   _____________________
  232.  
  233. //----------------------------------------------------------------------------
  234. //------------------------------- End of File --------------------------------
  235. //----------------------------------------------------------------------------
  236.  
  237.